package immutable;

/**
 * @Classname FinalVariableDemo
 * @Description 演示final变量
 * @Date 2025/1/8 22:24
 * @Author zhuzhenguo
 */
public class FinalVariableDemo {

    private static final int a;

    private static final Person person = null;

    //    void testFinal() {
//       final int b = 7;
//        int c =b;
//    }

    //    public FinalVariableDemo(int a) {
//        this.a = a;
//    }
    static {
        a = 7;
    }
}
